PreviousNextTracker indexSee it online !

(291/305) 1884 - Highlight: one-letter words are not highlighted

When "HIghlight owrd at caret" is on, one-letter words are not highlighted.

Not sure if this is intentional, but I want all words, even one-letter ones to be highlighted.

jEdit 5.3.0, Highlight 2.2

Submitted porton - 2017-05-05 13:09:31.228000 Assigned
Priority 5 Labels
Status pending Group
Resolution None

Comments

2017-11-01 08:11:18.818000
ngc

If you replace the 2 in line 666 of HighlightManagerTableModel.java with a 1, you get highlight of one-letter words.

So to answer your doubts: It seems to be intentional that a word for Highlight has to have at least 2 letters.

I almost forgot. This is the line:

if (wordEnd - wordStart < 2)

2017-11-02 07:04:03.657000
ngc

- **status**: open --> pending
- **Group**: -->